package org.dawning.shop.order.query.entry;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.dawning.shop.common.vo.Address;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 *
 * Created by miou on 2017/6/15 0015.
 */
@Document
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class OrderEntry {
    /** 订单ID*/
    private String id;

    /** 购买人账号*/
    private String userAccount;

    /** 订单状态*/
    private String status;

    /** 商品信息集合*/
    private List<OrderProductEntry> products;

    /** 地址信息对象*/
    private Address address;
}
